package cz.tomasdvorak.cars.dto;

import java.io.Serializable;

public class VehiclesCriteria implements Serializable {
    private String sortProperty;
    private Boolean sortAsc;

    public VehiclesCriteria(String sortProperty, Boolean sortAsc) {
        this.sortProperty = sortProperty;
        this.sortAsc = sortAsc;
    }

    public String getSortProperty() {
        return sortProperty;
    }

    public void setSortProperty(String sortProperty) {
        this.sortProperty = sortProperty;
    }

    public Boolean isSortAsc() {
        return sortAsc;
    }

    public void setSortAsc(Boolean sortAsc) {
        this.sortAsc = sortAsc;
    }
}
